﻿using System;
using FreeSql.DataAnnotations;
using XKPlatform.DataModels.Dao.BaseDao;

namespace XKPlatform.DataModels.SysModel
{
    [Table(DisableSyncStructure = true, Name = "RoleAPIMapping")]
    public partial class RoleAPIMappingModel : BaseEntity
    {
        public string Id { get; set; }
        public string RoleId { get; set; }
        public string RoleName { get; set; }
        public string ApiId { get; set; }
        public string UrlAddr { get; set; }
        public string ApiName { get; set; }
        public bool RecordStatus { get; set; }
        public DateTime? CreateOn { get; set; }
        public string CeateBy { get; set; }
        public DateTime? ModifyOn { get; set; }
        public string ModifyBy { get; set; }
        public string UserId { get; set; }
        public string UserName { get; set; }

        /// <summary>
        /// 1是接口，2、是按钮
        /// </summary>
        public int Type { get; set; }
    }
}
